package Controller;

import java.util.HashMap;
import java.util.Map;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("error")
public class ErrorController{
	static Logger logger = Logger.getLogger(ErrorController.class);
	@RequestMapping
	@ResponseBody
	public Map<String,String> error(){
		HashMap<String,String> response=new HashMap<String,String>();
		response.put("result", "9");
		return response;
	}
	
}
